let url = 'https://dmsc.scjya.com/index.php';
// let systemInfo = wx.getStorageSync('systemInfo');

let $fetchNet = (api, data, cb, cb_fail, method = 'get') => {
  return wx.request({
    url: url + api,
    data: data,
    method: method,
    header: {
      'content-type': 'application/json' 
    },
    success: (res) => {
      typeof cb == 'function' && cb(res.data)
    }
  })
}
module.exports = {
  $fetchNet
}